import 'package:fluent_ui/fluent_ui.dart';

Widget MyImage(String name,
    {double? width, double? height, BoxFit? fit, Color? color}) {
  var filename = name;
  return Image.asset(
    filename,
    height: height,
    width: width,
    fit: fit,
    //colorBlendMode: BlendMode.dstIn,
    color: color,
  );
}

Widget MyPackageImage(String name,
    {double? width, double? height, BoxFit? fit, Color? color}) {
  var filename = name;
  return Image.asset(
    filename,
    height: height,
    width: width,
    fit: fit,
    //colorBlendMode: BlendMode.dstIn,
    color: color,
    package: "jm_flutter",
  );
}
